#!/usr/bin/env python
#Filename auth.py

import base64

class Auth:
    def b64_string(self, username, password):
        base64string = base64.encodestring('%s:%s' % (username, password))[:-1]
        return "Basic %s" % base64string


